package com.asiainfo.dacp.datastash.orm.po.core;

import com.asiainfo.dacp.jpa.annotation.ColumnPosition;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Entity
@Table(name="dacp_datastash_unit_tmpl")
public class DataStashUnitTemplatePo {
    
    @Id
    @Column(name="tmpl_id",length = 8)
    private String tmplId;

    @Column(name="step_idx")
    @ColumnPosition(2)
    private int stepIndex;

    @Column(name="step_label",length = 64)
    @ColumnPosition(3)
    private String stepLabel;

    @Column(name="step_inst",length = 16)
    @ColumnPosition(4)
    private String stepInst;

    @Column(name="step_type",length = 8)
    @ColumnPosition(5)
    private String stepType;

    @Column(name="pre_step_idx",length = 128)
    @ColumnPosition(6)
    private String preStepIdx;

    @Column(name="next_step_idx",length = 128)
    @ColumnPosition(7)
    private String nextStepIdx;

    @Column(name="step_cfg_val",length = 1024)
    @ColumnPosition(8)
    private String stepCfgVal;

}
